<template>
  <div :class="[prefixCls + '-confirm']">
    <span :class="timeClasses" v-if="showTime" @click="handleToggleTime">
      <template v-if="isTime">{{ t('i.datepicker.selectDate') }}</template>
      <template v-else>{{ t('i.datepicker.selectTime') }}</template>
    </span>
    <aty-button size="small" type="text" v-show="clearable" @click.native="handleClear">{{ t('i.datepicker.clear') }}</aty-button>
    <aty-button size="small" type="primary" @click.native="handleSuccess">{{ t('i.datepicker.ok') }}</aty-button>
  </div>
</template>
<script type="text/ecmascript-6"  src="./confirm.js"></script>
